package com.tm.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.tm.model.Dept;
import com.tm.model.Role;
import com.tm.vo.RoleVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;


public interface RoleService {


    RoleVo queryAllRole(RoleVo roleVo);

    void statusChange(Integer id, Integer status);

    void addRole(Role role);

    void updateRole(Role role);

    Role queryRoleById(Integer id);

    void deleteRoleId(Integer id);

    void exportFile(HttpServletResponse response);

    void uploadFile(MultipartFile dataFile);
}
